// 验证码相关接口
import { post } from '@/utils/request'

// 验证码的公共URL前缀
let BASE_URL = '/common/captcha'

const captcha = {
  getCaptcha: (data) => post(BASE_URL + '/getCaptcha', data),
  checkCaptcha: (data) => post(BASE_URL + '/checkCaptcha', data)
}
export default captcha
